Mar 89 Letters
Volume Number: 5
Issue Number: 3
Column Tag: Letters
Letters
By David E. Smith, Editor & Publisher, MacTutor
INIT29 & Hpat Virsus Wanted!
Steve Sequist is requesting an infected disk with the new INIT29 and Hpat (nVir
type) virus so he can update last month's Security Patrol anit-virus program to detect
and destroy them. If you have one or both, please send an infected disk, clearly marked
with a skull and crossbones, to MacTutor, PO Box 400, Placentia, CA 92670, attn:
Virus! -Ed
Watch Cursor Revisited
Jan Eugenides
Waterbury Center, VT
David Stoops’ Animated Cursors from the December issue was interesting, but it
had two deficiencies:
1) It was hard-coded for eight cursors, instead of obtaining the real number of
cursors from the ‘acur’ resource,
2) It used SetUpA5 and RestoreA5, which should no longer be used.
I recoded the example in MPW C 3.0b1, with the modifications, and here is the
result. I also changed to an ‘acur’ resource with an ID of 128, so as not to conflict
with any system resources. The Rez source code for the watch ‘acur’ and the associated
cursors are as follows:
/* 1 */
#include
#include
#include
#include
#include
#include
#include
#include
#include
typedef struct {
short numCurs; /*number of cursor “frames” */
short whichCur; /*used as “frame” counter*/